package com.shire.shire_interface.dao.validation;

import com.shire.shire_interface.model.validation.WxValidationRule;
import com.shire.shire_interface.model.validation.WxValidationRuleExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxValidationRuleDao {
    long countByExample(WxValidationRuleExample example);

    int deleteByExample(WxValidationRuleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxValidationRule record);

    int insertSelective(WxValidationRule record);

    List<WxValidationRule> selectByExample(WxValidationRuleExample example);

    WxValidationRule selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxValidationRule record, @Param("example") WxValidationRuleExample example);

    int updateByExample(@Param("record") WxValidationRule record, @Param("example") WxValidationRuleExample example);

    int updateByPrimaryKeySelective(WxValidationRule record);

    int updateByPrimaryKey(WxValidationRule record);
}